package br.edu.unirn.controle;

import java.util.List;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;

import br.edu.unirn.dao.CategoriaDAO;
import br.edu.unirn.dominio.Categoria;
import br.edu.unirn.dominio.Produto;

@ManagedBean
public class CategoriaMBean extends AbstractController{

	@PostConstruct
	public void init(){
		dao = new CategoriaDAO();
		obj = new Categoria();
	}
	
	private Categoria selectedCategoria;

	public Categoria getSelectedCategoria() {
		return selectedCategoria;
	}

	public void setSelectedCategoria(Categoria selectedCategoria) {
		this.selectedCategoria = selectedCategoria;
	}
	
	

}
